package com.gxa.entity.parking;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-11 10:05:39
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_parking_spaces")
@ApiModel(value = "ParkingSpaces对象", description = "")
public class ParkingSpaces implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableField("id")
    private Integer id;

    @ApiModelProperty("停车场编号")
    @TableField("spaces_num")
    private String spacesNum;

    @ApiModelProperty("区域编号")
    @TableField("region_num")
    private String regionNum;

//    @ApiModelProperty("停车场类型")
//    @TableField("parking_type")
//    private Integer parkingType;

    @ApiModelProperty("车位类型 (临时车位0月卡车位1)")
    @TableField("spaces_type")
    private Integer spacesType;

    @ApiModelProperty("地锁编号")
    @TableField("lock_num")
    private String lockNum;

    @ApiModelProperty("绑定车牌")
    @TableField("bind_license")
    private String bindLicense;

    @ApiModelProperty("车主")
    @TableField("car_owner")
    private String carOwner;

    @ApiModelProperty("(0无车，1有车)")
    @TableField("space_state")
    private Integer spaceState;

    @TableLogic(value = "0" ,delval ="1")
    @TableField("deleted")
    private Integer deleted;


}
